package com.xiao.user.model;

import lombok.*;
import lombok.experimental.SuperBuilder;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * @author zhoushaofeng
 */
@MappedSuperclass
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class RemovableEntity extends AbstractAuditingEntity {
    @Column(name = "is_deleted")
    @Builder.Default
    private Boolean deleted = Boolean.FALSE;
}
